<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        function fightWith() {
            alert("住手，你们不要在打了")
        }
    </script>
</head>

<body>
    <button onclick="fightWith(); console.log('看来你很勇啊')">
        点击按钮康康实力
    </button>
    <script>
        console.log('杰哥不要');
    </script>
    <script src="./js/01-测试.js">
    </script>
</body>

</html>